package com.link.base.base.dailystatement.service;


import com.link.base.base.dailystatement.dao.mybatis.mapper.DailyStatementMapper;
import com.link.base.base.dailystatement.model.DailyStatement;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  安小波
 * @date:   2018-08-01
 * @version 1.0
 */

@Service
public class DailyStatementServiceImpl extends BasicServiceImpl<DailyStatement> implements DailyStatementService {

    @Resource
    private DailyStatementMapper dailyStatementMapper;

    @Override
    public BasicMapper<DailyStatement> getBasicMapper() {
        return dailyStatementMapper;
    }


    @Override
    public List<DailyStatement> queryCurrentDaily(DailyStatement entity) throws Exception {
        return dailyStatementMapper.queryCurrentDaily(entity);
    }

    @Override
    public void dailyInfoUpdate(DailyStatement entity) throws Exception {
        dailyStatementMapper.dailyInfoUpdate(entity);
    }
}
